<form class="form-horizontal" name="msg" ng-submit="toSubmit()">
    <div class="form-group">
        <label for="name" class="col-sm-2 control-label">名字</label>
        <div class="col-sm-10">
            <input type="text" class="form-control" id="name" name="name" ng-model="value.name" placeholder="input name">
        </div>
    </div>

    <div class="form-group">
        <label for="email" class="col-sm-2 control-label">email</label>
        <div class="col-sm-10">
            <input type="email" class="form-control" id="email" name="email" ng-model="value.email" placeholder="input email">
        </div>
    </div>

    <div class="form-group">
        <label for="phone" class="col-sm-2 control-label">phone</label>
        <div class="col-sm-10">
            <input type="number" id="phone" class="form-control" name="phone" ng-model="value.phone" placeholder="input phone">
        </div>
    </div>

    <div class="form-group">
        <label for="message" class="col-sm-2 control-label">phone</label>
        <div class="col-sm-10">
            <textarea name="message" class="form-control"  id="message" ng-model="value.message" placeholder="message"></textarea>
        </div>
    </div>

    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" name="submit">提交</button>
        </div>
    </div>
</form>
